package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface AddressManagementMapper {
    Page<Address> findPage(String s);

    Address findById(Integer id);

    void delById(Integer id);

    void add(Address address);

    void update(Address address);

    List<Address> findAll();

    List<HashMap<String,Integer>> findHotAddressId();
}
